FROM 192.168.2.83:5000/laketi-jduan:v3.0

WORKDIR /workspace

COPY pip/laketi_infer-0.5.0-py3-none-any.whl pip/laketi_infer-0.5.0-py3-none-any.whl 
COPY pip/jd_package_oqc-1.0.9-py3-none-any.whl  pip/jd_package_oqc-1.0.9-py3-none-any.whl

COPY board_setup/vck5000/setup.sh setup.sh
COPY entrypoint.sh entrypoint.sh
COPY requirements.txt requirements.txt

RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt && pip install pip/laketi_infer-0.5.0-py3-none-any.whl --force-reinstall && pip install pip/jd_package_oqc-1.0.9-py3-none-any.whl && chmod +x entrypoint.sh

ENTRYPOINT ["./entrypoint.sh"]